Revert "tests: adjust float to 8bit regression test for new sRGB precision"
authorMassimo Valentini <mvalentini@src.gnome.org>
Fri, 24 Aug 2012 08:06:01 +0000 (10:06 +0200)
committerMassimo Valentini <mvalentini@src.gnome.org>
Tue, 20 Nov 2012 18:51:45 +0000 (19:51 +0100)
commite8557b0e1e1276d25b81e39c5da6deef8b2a1588
treed445e290d5a3aeb96ffb86b06ea88ee96e103055
parentd9e547f951a98255419718cded9dfe52495092cf
Revert "tests: adjust float to 8bit regression test for new sRGB precision"

This reverts commit 2675787f341ce259f9abec3e326b5efece45ecbf.

the literal 0.3 assigned to a float is approximated to a number
slightly greater than 0.3 (3/10) ->

lrint ((0.3 + epsilon) * 255) == lrint (76.5 + 255 * epsilon) == 77
tests/float-to-8bit.c